package com.xbzl.cly_demo.properties;

//import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "mqtt")
//@Data
public class MqttProperties {

    String url;
    String userName;
    String password;
    String clientId;
    String subTopics;

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getClientId() {
        return clientId;
    }

    public void setClientId(String clientId) {
        this.clientId = clientId;
    }

    public String getSubTopics() {
        return subTopics;
    }

    public void setSubTopics(String subTopics) {
        this.subTopics = subTopics;
    }
}
